﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SelectionInfo.aspx.cs"
    Inherits="EDMS.SelectionInfo" MasterPageFile="~/MainMaster.Master" %>

<%@ Register Assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxCallbackPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <script language="javascript" type="text/javascript">
        function OnGridFocusedRowChanged() {
            gvSelection.GetRowValues(gvSelection.GetFocusedRowIndex(), 'xjbh;xjmc;xjsj;wtjssj;xjphone;xjdz', OnGetRowValues);
        }

        function OnGetRowValues(values) {
            xjbh.SetText(values[0]);
            xjmc.SetText(values[1]);
            xjsj.SetValue(values[2]);
            wtjssj.SetValue(values[3]);
            lxdh.SetText(values[4]);
            xjdz.SetText(values[5])
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="MainContent">
    <h1 class="DemoTitle">
        选举信息管理
    </h1>
    <div id="DemoArea">
        <div class="Spacer" style="height: 14px;">
        </div>
    </div>
    <dx:ASPxCallbackPanel ID="CBPanel" ClientInstanceName="QueryPanel" runat="server"
        Width="100%" OnCallback="CBPanel_Callback">
        <PanelCollection>
            <dx:PanelContent>
                <table width="100%" cellpadding="0" cellspacing="0">
                    <tr>
                        <td>
                            选举编号：
                        </td>
                        <td>
                            <dx:ASPxComboBox ID="cmbXjbh" runat="server" Width="100px" TextField="Xjbh" ValueField="Xjbh"
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                                Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" DataSourceID="SDSXjbh">
                                <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Editors/Loading.gif">
                                </LoadingPanelImage>
                                <LoadingPanelStyle ImageSpacing="5px">
                                </LoadingPanelStyle>
                            </dx:ASPxComboBox>
                        </td>
                        <td>
                            选举名称：
                        </td>
                        <td>
                            <dx:ASPxTextBox ID="txtXjmcc" runat="server" Width="100px" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                            </dx:ASPxTextBox>
                        </td>
                        <td>
                            选举时间：
                        </td>
                        <td>
                            <%--<dx:ASPxDateEdit ID="deXjsjc" runat="server" Width="100px" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                CssPostfix="Office2010Blue" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                <CalendarProperties>
                                    <HeaderStyle Spacing="1px" />
                                </CalendarProperties>
                            </dx:ASPxDateEdit>--%>
                            <dx:ASPxTimeEdit ID="teXjsjc" runat="server" 
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" Spacing="0" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                EditFormat="DateTime" Width="110px">
                            </dx:ASPxTimeEdit>
                        </td>
                        <td>
                            委托结束时间：
                        </td>
                        <td>
                            <%--<dx:ASPxDateEdit ID="deWtjssjc" runat="server" Width="100px" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                CssPostfix="Office2010Blue" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                <CalendarProperties>
                                    <HeaderStyle Spacing="1px" />
                                </CalendarProperties>
                            </dx:ASPxDateEdit>--%>
                            <dx:ASPxTimeEdit ID="teWtjssjc" runat="server" 
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" Spacing="0" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                EditFormat="DateTime" Width="110px">
                            </dx:ASPxTimeEdit>
                        </td>
                        <td>
                            <dx:ASPxButton ID="btnCx" runat="server" Text="查询" AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                <ClientSideEvents Click="function(s,e){QueryPanel.PerformCallback();}"></ClientSideEvents>
                            </dx:ASPxButton>
                        </td>
                        <td>
                            <dx:ASPxButton ID="btnQk" runat="server" Text="清空检索条件" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                OnClick="btnQk_Click" AutoPostBack="false">
                            </dx:ASPxButton>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <dx:ASPxButton ID="btnAddSelection" runat="server" Text="添加选举信息" AutoPostBack="false"
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                <ClientSideEvents Click="function(s, e) { pcAddSelection.Show(); }" />
                            </dx:ASPxButton>
                        </td>
                        <td>
                            <dx:ASPxButton ID="btnEditSelection" runat="server" Text="修改选举信息" AutoPostBack="false"
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                <ClientSideEvents Click="function(s, e) { pcUpdateSelection.Show(); }" />
                            </dx:ASPxButton>
                        </td>
                        <td colspan="8">
                        </td>
                    </tr>
                    <tr>
                        <td colspan="10">
                            <dx:ASPxGridView ID="gvSelection" runat="server" Width="98%" AutoGenerateColumns="False"
                                ClientInstanceName="gvSelection" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                CssPostfix="Office2010Blue" KeyFieldName="xjbh">
                                <SettingsBehavior AllowFocusedRow="True" AllowSelectSingleRowOnly="True" ProcessSelectionChangedOnServer="True" />
                                <ClientSideEvents FocusedRowChanged="function(s, e) { OnGridFocusedRowChanged(); }" />
                                <Columns>
                                    <dx:GridViewDataTextColumn Caption="选举编号" FieldName="xjbh" VisibleIndex="0">
                                    </dx:GridViewDataTextColumn>
                                    <dx:GridViewDataTextColumn Caption="选举名称" FieldName="xjmc" VisibleIndex="1">
                                    </dx:GridViewDataTextColumn>
                                    <dx:GridViewDataTextColumn Caption="选举时间" FieldName="xjsj" VisibleIndex="2">
                                    </dx:GridViewDataTextColumn>
                                    <dx:GridViewDataTextColumn Caption="委托结束时间" FieldName="wtjssj" VisibleIndex="3">
                                    </dx:GridViewDataTextColumn>
                                    <dx:GridViewDataTextColumn Caption="选举电话" FieldName="xjphone" 
                                        ShowInCustomizationForm="True" VisibleIndex="4">
                                    </dx:GridViewDataTextColumn>
                                    <dx:GridViewDataTextColumn Caption="选举地址" FieldName="xjdz" 
                                        ShowInCustomizationForm="True" VisibleIndex="4">
                                    </dx:GridViewDataTextColumn>
                                    <dx:GridViewDataTextColumn Caption="操作" VisibleIndex="5">
                                        <DataItemTemplate>
                                            <a href="../Notice/NoticeInfo.aspx?SID=<%#Eval("xjbh") %>">选举公告</a>
                                            <asp:LinkButton ID="btnDelete" runat="server" CommandArgument='<%#Eval("xjbh") %>'
                                                OnClientClick="return confirm('确定要删除吗？');" OnClick="btnDelete_Click">删除</asp:LinkButton>
                                        </DataItemTemplate>
                                    </dx:GridViewDataTextColumn>
                                </Columns>
                                <Images SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                    <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                                    </LoadingPanelOnStatusBar>
                                    <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                                    </LoadingPanel>
                                </Images>
                                <ImagesFilterControl>
                                    <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                                    </LoadingPanel>
                                </ImagesFilterControl>
                                <Styles CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue">
                                    <Header ImageSpacing="5px" SortingImageSpacing="5px">
                                    </Header>
                                    <LoadingPanel ImageSpacing="5px">
                                    </LoadingPanel>
                                </Styles>
                                <StylesPager>
                                    <PageNumber ForeColor="#3E4846">
                                    </PageNumber>
                                    <Summary ForeColor="#1E395B">
                                    </Summary>
                                </StylesPager>
                                <StylesEditors ButtonEditCellSpacing="0">
                                    <ProgressBar Height="21px">
                                    </ProgressBar>
                                </StylesEditors>
                            </dx:ASPxGridView>
                        </td>
                    </tr>
                </table>
            </dx:PanelContent>
        </PanelCollection>
    </dx:ASPxCallbackPanel>
    <!--新增-->
    <dx:ASPxPopupControl ID="pcAddSelection" runat="server" CloseAction="CloseButton"
        Modal="True" PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter"
        ClientInstanceName="pcAddSelection" HeaderText="添加选举信息" AllowDragging="True"
        EnableAnimation="False" EnableHotTrack="False" EnableViewState="False" Width="400px"
        Height="300px" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
        <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
        </LoadingPanelImage>
        <LoadingPanelStyle ImageSpacing="5px">
        </LoadingPanelStyle>
        <ContentCollection>
            <dx:PopupControlContentControl ID="PopupControlContentControl1" runat="server">
                <dx:ASPxPanel ID="Panel1" runat="server" DefaultButton="btnOK" Width="400px" Height="300px">
                    <PanelCollection>
                        <dx:PanelContent ID="PanelContent1" runat="server" Width="400px" Height="300px">
                            <table cellspacing="10px" cellpadding="0" border="0" style="width: 100%">
                                <tr>
                                    <td height="25" width="40%" align="right">
                                        <dx:ASPxLabel ID="ASPxLabel1" runat="server" Text="选举编号：">
                                        </dx:ASPxLabel>
                                    </td>
                                    <td height="25" width="*" align="left">
                                        <dx:ASPxTextBox ID="txtXjbh" runat="server" Width="170px" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                            CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                        </dx:ASPxTextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="25" width="40%" align="right">
                                        <dx:ASPxLabel ID="l1" runat="server" Text="选举名称：">
                                        </dx:ASPxLabel>
                                    </td>
                                    <td height="25" width="*" align="left">
                                        <dx:ASPxTextBox ID="txtXjmc" runat="server" Width="170px" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                            CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                        </dx:ASPxTextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="25" width="40%" align="right">
                                        <dx:ASPxLabel ID="ASPxLabel7" runat="server" Text="联系电话：">
                                        </dx:ASPxLabel>
                                    </td>
                                    <td height="25" width="*" align="left">
                                        <dx:ASPxTextBox ID="txtLxdh" runat="server" Width="170px" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                            CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                        </dx:ASPxTextBox>
                                    </td>
                                </tr>
                                 <tr>
                                    <td height="25" width="40%" align="right">
                                        <dx:ASPxLabel ID="ASPxLabel9" runat="server" Text="选举地址：">
                                        </dx:ASPxLabel>
                                    </td>
                                    <td height="25" width="*" align="left">
                                        <%--<dx:ASPxTextBox ID="txtXjdz" runat="server" Width="170px" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                            CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                        </dx:ASPxTextBox>--%>
                                        <dx:ASPxMemo ID="meXjdz" runat="server" Height="71px" Width="170px">
                                        </dx:ASPxMemo>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="25" width="40%" align="right">
                                        <dx:ASPxLabel ID="l2" runat="server" Text="选举时间：">
                                        </dx:ASPxLabel>
                                    </td>
                                    <td height="25" width="*" align="left">
                                        <%--<dx:ASPxDateEdit ID="deXjsj" runat="server" EditFormat="DateTime" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                            CssPostfix="Office2010Blue" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                            <CalendarProperties>
                                                <HeaderStyle Spacing="1px" />
                                            </CalendarProperties>
                                        </dx:ASPxDateEdit>--%>
                                        <dx:ASPxTimeEdit ID="teXjsj" runat="server" 
                                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                            CssPostfix="Office2010Blue" Spacing="0" 
                                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                            EditFormat="DateTime">
                                        </dx:ASPxTimeEdit>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="25" width="40%" align="right">
                                        <dx:ASPxLabel ID="ASPxLabel2" runat="server" Text="委托结束时间：">
                                        </dx:ASPxLabel>
                                    </td>
                                    <td height="25" width="*" align="left">
                                        <%--<dx:ASPxDateEdit ID="deWtjssj" runat="server" EditFormat="DateTime" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                            CssPostfix="Office2010Blue" Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                            <CalendarProperties>
                                                <HeaderStyle Spacing="1px" />
                                            </CalendarProperties>
                                            </dx:ASPxDateEdit>--%>
                                        <dx:ASPxTimeEdit ID="teWtjssj" runat="server" 
                                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                            CssPostfix="Office2010Blue" Spacing="0" 
                                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                            EditFormat="DateTime">
                                        </dx:ASPxTimeEdit>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        <dx:ASPxButton ID="btnOK" runat="server" Text="新增" Width="60px" OnClick="btnOK_Click"
                                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                            <ClientSideEvents Click="function(s, e) { pcAddSelection.Hide(); }" />
                                        </dx:ASPxButton>
                                    </td>
                                    <td>
                                        <dx:ASPxButton ID="btnEsc" runat="server" Text="取消" Width="60px" OnClick="btnEsc_Click"
                                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                            <ClientSideEvents Click="function(s, e) { pcAddSelection.Hide(); }" />
                                        </dx:ASPxButton>
                                    </td>
                                </tr>
                            </table>
                        </dx:PanelContent>
                    </PanelCollection>
                </dx:ASPxPanel>
            </dx:PopupControlContentControl>
        </ContentCollection>
    </dx:ASPxPopupControl>
    <!--修改-->
    <dx:ASPxPopupControl ID="pcUpdateSelection" runat="server" CloseAction="CloseButton"
        Modal="True" PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter"
        ClientInstanceName="pcUpdateSelection" HeaderText="修改选举信息" AllowDragging="True"
        EnableAnimation="False" EnableHotTrack="False" EnableViewState="False" Width="400px"
        Height="300px" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
        SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
        <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
        </LoadingPanelImage>
        <LoadingPanelStyle ImageSpacing="5px">
        </LoadingPanelStyle>
        <ContentCollection>
            <dx:PopupControlContentControl ID="PopupControlContentControl2" runat="server">
                <dx:ASPxPanel ID="ASPxPanel1" runat="server" DefaultButton="btnXg" Width="400px"
                    Height="300px">
                    <PanelCollection>
                        <dx:PanelContent ID="PanelContent2" runat="server" Width="400px" Height="300px">
                            <table cellspacing="10px" cellpadding="0" border="0" style="width: 100%">
                                <tr>
                                    <td height="25" width="40%" align="right">
                                        <dx:ASPxLabel ID="ASPxLabel3" runat="server" Text="选举编号：">
                                        </dx:ASPxLabel>
                                    </td>
                                    <td height="25" width="*" align="left">
                                        <dx:ASPxTextBox ID="txtXjbhx" ClientInstanceName="xjbh" runat="server" Width="170px"
                                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" ReadOnly="True">
                                        </dx:ASPxTextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="25" width="40%" align="right">
                                        <dx:ASPxLabel ID="ASPxLabel4" runat="server" Text="选举名称：">
                                        </dx:ASPxLabel>
                                    </td>
                                    <td height="25" width="*" align="left">
                                        <dx:ASPxTextBox ID="txtXjmcx" ClientInstanceName="xjmc" runat="server" Width="170px"
                                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                        </dx:ASPxTextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="25" width="40%" align="right">
                                        <dx:ASPxLabel ID="ASPxLabel8" runat="server" Text="联系电话：">
                                        </dx:ASPxLabel>
                                    </td>
                                    <td height="25" width="*" align="left">
                                        <dx:ASPxTextBox ID="txtLxdhx" ClientInstanceName="lxdh"  runat="server" Width="170px" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                            CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                        </dx:ASPxTextBox>
                                    </td>
                                </tr>
                                 <tr>
                                    <td height="25" width="40%" align="right">
                                        <dx:ASPxLabel ID="ASPxLabel10" runat="server" Text="选举地址：">
                                        </dx:ASPxLabel>
                                    </td>
                                    <td height="25" width="*" align="left">
                                        <%--<dx:ASPxTextBox ID="txtXjdzx" ClientInstanceName="xjdz" runat="server" Width="170px" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                            CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                        </dx:ASPxTextBox>--%>
                                        <dx:ASPxMemo ID="meXjdzx" ClientInstanceName="xjdz" runat="server" Height="71px" Width="170px">
                                        </dx:ASPxMemo>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="25" width="40%" align="right">
                                        <dx:ASPxLabel ID="ASPxLabel5" runat="server" Text="选举时间：">
                                        </dx:ASPxLabel>
                                    </td>
                                    <td height="25" width="*" align="left">
                                        <%--dx:ASPxDateEdit ID="deXjsjx" ClientInstanceName="xjsj" runat="server" EditFormat="DateTime"
                                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                                            Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                            <CalendarProperties>
                                                <HeaderStyle Spacing="1px" />
                                            </CalendarProperties>
                                        </dx:ASPxDateEdit>--%>
                                        <dx:ASPxTimeEdit ID="teXjsjx" runat="server" ClientInstanceName="xjsj" 
                                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                            CssPostfix="Office2010Blue" Spacing="0" 
                                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                            EditFormat="DateTime">
                                        </dx:ASPxTimeEdit>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="25" width="40%" align="right">
                                        <dx:ASPxLabel ID="ASPxLabel6" runat="server" Text="委托结束时间：">
                                        </dx:ASPxLabel>
                                    </td>
                                    <td height="25" width="*" align="left">
                                        <%--<dx:ASPxDateEdit ID="deWtjssjx" runat="server" ClientInstanceName="wtjssj" EditFormat="DateTime"
                                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                                            Spacing="0" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                            <CalendarProperties>
                                                <HeaderStyle Spacing="1px" />
                                            </CalendarProperties>
                                        </dx:ASPxDateEdit>--%>
                                        <dx:ASPxTimeEdit ID="teWtjssjx" runat="server" ClientInstanceName="wtjssj" 
                                            CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"  
                                            CssPostfix="Office2010Blue" Spacing="0" 
                                            SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                            EditFormat="DateTime">
                                        </dx:ASPxTimeEdit>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        <dx:ASPxButton ID="btnXg" runat="server" Text="修改" Width="60px" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                            CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                            OnClick="btnXg_Click">
                                            <ClientSideEvents Click="function(s, e) { pcUpdateSelection.Hide(); }" />
                                        </dx:ASPxButton>
                                    </td>
                                    <td>
                                        <dx:ASPxButton ID="btnQx" runat="server" Text="取消" Width="60px" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css"
                                            CssPostfix="Office2010Blue" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css"
                                            OnClick="btnQx_Click">
                                            <ClientSideEvents Click="function(s, e) { pcUpdateSelection.Hide(); }" />
                                        </dx:ASPxButton>
                                    </td>
                                </tr>
                            </table>
                        </dx:PanelContent>
                    </PanelCollection>
                </dx:ASPxPanel>
            </dx:PopupControlContentControl>
        </ContentCollection>
    </dx:ASPxPopupControl>
    <asp:SqlDataSource ID="SDSXjbh" runat="server" ConnectionString="<%$ ConnectionStrings:CMSConnectionString %>"
        SelectCommand="SELECT [xjbh] FROM [Xjdj]"></asp:SqlDataSource>
    <asp:LinqDataSource ID="LDSSelection" runat="server" ContextTypeName="DAL.DataClassesDataContext"
        TableName="Xjdj">
    </asp:LinqDataSource>
</asp:Content>
